
#ifndef _RECHERCHECLIENT_H_
#define _RECHERCHECLIENT_H_

#include "ui_RechercheClient.h"
#include "TrueLoveClient.h"
#include "StatistiquesClient.h"
#include "RendezVous.h"

class RechercheClient : public QMainWindow, private Ui_RechercheClient
{
	Q_OBJECT

public:
	
	RechercheClient(QWidget *parent = 0);
	~RechercheClient();
	void closeEvent(QCloseEvent *event);

private slots:
	void chargePage();
	void adapteListe();
	void choisirPhotoClient();
	void retourAccueil();
	void saveAllChange();
	void verifHobbie(QListWidgetItem *item);

private:
	QList<TrueLoveClient> clients;
	QList<StatistiquesClient> stats;
	QList<RendezVous> rdvs;
	TrueLoveClient *trueLoveC;
	bool activeSave;
	void saveChange();
};

#endif
